#!/bin/bash

g++-9 fmm_2d_grid.cpp -o fmm_2d_grid -O2

./fmm_2d_grid > out.txt

xyz2grd out.txt -Gout.nc -R0/1000/0/500 -I5/5 -i0,1,5

ncview out.nc